# encoding=utf-8
import tornado.ioloop


import tornado.web

class MainHandler(tornado.web.RequestHandler):
    def get(self):
    	self.write("hello")
class Main2Handler(tornado.web.RequestHandler):
    def get(self):
    	self.write("hello2")
application = tornado.web.Application([(r"/",MainHandler),(r'/a/',Main2Handler)])

print 'eee'
application.listen(30777)
tornado.ioloop.IOLoop.instance().start()
print 'starting...'


